package com.maxvision.test;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 类说明
 *
 * @author HuangRongFu
 * @date 2023/1/7
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ExcelDto2 {
    
    @ExcelProperty(value = "姓名")
    private String name;
    
    @ExcelProperty(value = "性别")
    private String gender;
    
    @ExcelProperty(value = {"1", "手机号"})
    private String mobile;
    
    @ExcelProperty(value = {"1","描述"})
    private String description;
    
    @ExcelProperty(value = "分数")
    @NumberFormat(value = "####.#")
    private Double number;
}
